package com.zmn.plat.model.entity.servcategory;

import com.zmn.common.utils.pager.Pages;
import lombok.*;

import java.util.Date;
import java.util.List;

/**
 * @author duanzuocai
 * @version v1.0
 * @类说明：服务类型、产品分类关联
 * @since 2018/10/24 9:41
 * @modifier linfeng 新增前后台类型字段 20190920
 */
@EqualsAndHashCode(callSuper = true)
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ServAssCategoryQuery extends Pages {

    private static final long serialVersionUID = -7667541237114038951L;
    protected Integer channelId;
    protected Integer groupId;

    /**
     * 产品分类 1 后端产品 2前端产品
     */
    protected Integer showType;

    /**
     * 服务分类
     */
    protected Integer servCategId;
    protected String servCategName;
    protected List<Integer> servCategIds;

    /**
     * 一级分类
     */
    protected Integer categOneId;
    protected String categOneName;
    protected List<Integer> categOneIds;

    /**
     * 二级分类
     */
    protected Integer categId;
    protected String categTwoName;
    protected List<Integer> categIds;

    /**
     * 状态
     */
    protected Integer servCategStatus;
    protected Integer servCategShowStatus;
    protected Integer categOneStatus;
    protected Integer categTwoStatus;

    protected Integer servCategShowTariffStatus;
    protected Integer categOneTariffStatus;
    protected Integer categTwoTariffStatus;

    /******* 分组相关信息 start ********/

    private Integer bizType;
    private Integer productGroupId;

    /**
     * 描述: C:保外业务对应产品组ID
     **/
    private Integer productGroupcId;

    /**
     * 描述: F:保内业务对应产品组ID
     **/
    private Integer productGroupfId;

    /**
     * 描述: B:工程业务对应产品组ID
     **/
    private Integer productGroupbId;

    /**
     * 描述: C:保外业务预生效产品组ID
     **/
    private Integer perProductGroupcId;

    /**
     * 描述: F:保内业务预生效产品组ID
     **/
    private Integer perProductGroupfId;

    /**
     * 描述: B:工程业务预生效产品组ID
     **/
    private Integer perProductGroupbId;

    /**
     * 描述: 产品组预生效时间
     **/
    private Date perTime;
    /******* 分组相关信息 end ********/

    protected String creater;
    protected Date createTime;

    protected String faultUpdater;
    protected Date faultUpdateTime;
    /**
     * 每页显示条数，默认100
     */
    protected Integer pageSize = 100;
}

